//生产环境
const ApiRootUrl='https://okh.hm2012.cn/oulehui/api'
// 测试环境
// const ApiRootUrl = 'http://saas-app-test.ybveg.com/oulehui/api';

// const ApiRootUrl = 'http://192.168.20.20:8080/oulehui/api';
// const ApiRootUrl = 'https://oulehui.qd-weimob.com:8443/oulehui/api';
//http://okh.hm2012.cn/oulehui/admin/login?redirectUrl=%2Foulehui%2Fadmin%2Fmain%2Findex
//https://okh.hm2012.cn/oulehui/api
module.exports = {
	// 活动列表接口 参考分页参数
	gameList:ApiRootUrl + '/active/list',
	// 活动详情接口
  //  输入参数： actId   列表页面的id参数
	actDet:ApiRootUrl + '/active/detail',
	// 活动报名接口
  // 输入参数： actId  如果未登录，系统会返回未登录信息
	actJoin:ApiRootUrl + '/active/join',
	// 个人中心我的报名
	myActList:ApiRootUrl + '/active/mylist',
	// 核销接口地址：输入参数 qrCode=12345678910123456789101234567890
	scanQrcode:ApiRootUrl + ' /active/scanQrcode',
	//核销记录接口  
	codeList:ApiRootUrl + ' /active/codelist',
	//签到接口  
	sign:ApiRootUrl + '/active/sign',
	// 签到列表：  输入参数： queryDate:2020-09-01 (非必填)
	signList:ApiRootUrl + '/active/signlist',
	//自提点查询
	pointlist:ApiRootUrl + '/active/pointlist',
	 //支付订单 
	OrderPay: ApiRootUrl + '/orders/pay',
	wuyeList:ApiRootUrl+ '/wuyerecord/mylist',
    wuyephone:ApiRootUrl+ '/member/info',
	

	
  

	infoBind:ApiRootUrl + '/member/infoBind',//业主绑定
	yezhusendcode:ApiRootUrl + '/msg/sendMsgCode',//给业主发送验证码
	mainbanner:ApiRootUrl + '/index/centerAd',//首页广告图
  LoginOpenid: ApiRootUrl + '/wechat/login', //获取openid
	GetUserInfoUrl: ApiRootUrl + '/wechat/getUserInfo', //授权登录
	
	ConfigUrl: ApiRootUrl + '/common/config', //配置项
	
  MemberInfo: ApiRootUrl + '/member/info', //会员信息
  MsgCodeUrl: ApiRootUrl + '/msg/sendMsgCode', //发送验证码
  MemberRegisterUrl: ApiRootUrl + '/member/register', //会员注册
  MemberInfoUpdate: ApiRootUrl + '/member/infoUpdate', //会员资料修改
  IndexDataInfo: ApiRootUrl + '/index/dataInfo', //首页数据
  ArticleListData: ApiRootUrl + '/article/listData', //图文详情
  ArticleDetail: ApiRootUrl + '/article/detail', //图文详情
  ProductIndexInfo: ApiRootUrl + '/product/index', //商城首页数据
  ProductInfo: ApiRootUrl + '/product/info', //商品信息
  ProductCategoryList: ApiRootUrl + '/product/category', //商品分类
  ProductListData: ApiRootUrl + '/product/loadData', //商品列表加载
  ParentCategoryList: ApiRootUrl + '/product_category/parentCategory', //商品一级分类
  CategoryList: ApiRootUrl + '/product_category/category', //商品二级分类
  QueryProductStock: ApiRootUrl + '/product/queryProductStock', //根据规格值查询商品
  ProductCollect: ApiRootUrl + '/product/collect', //收藏商品
	ProductCollectListData: ApiRootUrl + '/product/collectListData', //收藏商品列表
	AddressList: ApiRootUrl + '/receiver/list', //地址列表
	AddressSave: ApiRootUrl + '/receiver/save', //地址添加
	AddressDelete: ApiRootUrl + '/receiver/delete', //地址删除
	AddressDetail: ApiRootUrl + '/receiver/detail', //地址详情
	AddressUpdate: ApiRootUrl + '/receiver/update', //地址更新
	AddressDefault: ApiRootUrl + '/receiver/defaultAddress', //默认地址
	CartAdd: ApiRootUrl + '/cart/add', //添加商品到购物车
	CartAddBuy: ApiRootUrl + '/cart/addBuy', //添加商品到购物车直接购买
	CartList: ApiRootUrl + '/cart/list', //购物车列表
	CartAmount: ApiRootUrl + '/cart/amount', //购物车商品价格
	CartUpdateCounts: ApiRootUrl + '/cart/updateCounts', //更新购物车中商品数量
	CartDelete: ApiRootUrl + '/cart/delete', //删除购物车中商品
	ProductOrderSubmit: ApiRootUrl + '/orders/create', //创建订单
	BalanceRecordList: ApiRootUrl + '/member/balanceRecordList', //会员瓯客券记录
	ReChargeList: ApiRootUrl + '/recharge/getList', //充值项列表
	//=====  /recharge/recharge
	RechargeInfo:ApiRootUrl+ '/wuyerecord/recharge', //充值支付参数
	OrderList: ApiRootUrl + '/orders/listData', //订单列表
	OrderCancel: ApiRootUrl + '/orders/cancel', //取消订单
	
	OrderConfirm: ApiRootUrl + '/orders/confirm', //订单确认收货
	OrderReject: ApiRootUrl + '/orders/reject', //订单申请退款
	OrderDetail: ApiRootUrl + '/orders/detail', //订单详情

	OrderStaffTiHuo: ApiRootUrl + '/orders/staffTiHuo', //员工手机核销订单
	OrderStaffTiHuoRecord: ApiRootUrl + '/orders/staffTiHuoRecord', //员工手机核销订单记录
	ProjectCustomerListData: ApiRootUrl + '/project/listData', //推荐记录列表

	ProjectList: ApiRootUrl + '/project/list', //楼盘列表
	ProjectCustomerAdd: ApiRootUrl + '/project/save', //新增推荐客户
	ArticleProductListData: ApiRootUrl + '/index/listData', //全局搜索
};